package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.EventConfig;
import com.nys.cqhttp.model.EventConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface EventConfigMapper {
    long countByExample(EventConfigExample example);

    int deleteByExample(EventConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EventConfig record);

    int insertSelective(EventConfig record);

    List<EventConfig> selectByExample(EventConfigExample example);

    EventConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EventConfig record, @Param("example") EventConfigExample example);

    int updateByExample(@Param("record") EventConfig record, @Param("example") EventConfigExample example);

    int updateByPrimaryKeySelective(EventConfig record);

    int updateByPrimaryKey(EventConfig record);
}